<?php
$this->pageTitle = $portfolio->name;
$this->metaKeywords = $portfolio->assigntags;
$this->metaDescription = $portfolio->short_description;
$this->addMetaProperty('fb:app_id', Yii::app()->params['fbAppId']);
$baseUrl = Yii::app()->baseUrl;
$this->canonical = $baseUrl . $portfolio->getSlug(); // canonical URLs should always be absolute
?>
<div class="row">
    <div class="twelve columns">
        <h1 style="margin-top: 10px;" class="title stressborder"><?php echo $portfolio->name ?></h1>
        <hr>
    </div>
</div>
<div class="row">
    <!-- PROJECT DESCRIPTION-->
    <div class="six columns">
        
        <?php echo $portfolio->detail ?>
        <br>
    </div>
<!-- end main content-->
		<!-- BEGIN SIDEBAR-->
		<div class="six columns">
			<!-- begin slider-->
			<div class="fluid_container">
				<?php
        echo CHtml::image($portfolio->imageWebPath(), $portfolio->name, array('class' => "attachment-portfolio2-thumb"));
        ?>
			</div>
                        
        <div class="tagbody">
            <ul class="tags">
                <?php foreach ($portfolio->tags as $tag): ?>
                <li><a href="<?php echo Yii::app()->createUrl("/sample_portfolio/".  urlencode(strtolower($tag->name)))?>" class="tag"><?php echo $tag->name ?></a></li>

                <?php endforeach; ?>
            </ul>
        </div>
			<!-- end sliderr-->
		</div>
		<!-- END SIDEBAR-->
</div>

